package  
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	/**
	 * ...
	 * @author ...
	 */
	public class testVector extends Sprite 
	{
		private var _vector:Vector.<TextField>;
		
		
		public function testVector() 
		{
			_vector = new Vector.<TextField>();
			
			var __tf:TextField = new TextField();
			__tf.text = "sample text 1";
			
			_vector.push(__tf);
			
			_viewTextInVector(_vector);
			
			//__tf.text = "changed";
			
			//__tf = null;
			trace(this, __tf);
			_vector[0] = null;
			trace(this, __tf);
			
			_viewTextInVector(_vector);
		}
		
		private function _viewTextInVector(vector:Vector.<TextField>):void 
		{
			for each(var __t:TextField in _vector)
			{
				trace(this, __t);
			}
		}
		
	}

}